package com.example.viki.resp;

import java.util.List;

public class PageResp<T> {
    private long total;

    private List<T> list;

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {this.total = total;}



    public List<T> getList() {return list;}



    public void setList(List<T> list) {this.list = list;}


    @Override
    public String toString() {
        return "PageReq{" +
                "page=" + total +
                ", size=" + list +
                '}';
    }
}